package com.yixin.hospital.service;

import com.yixin.hospital.common.ApiResult;
import com.yixin.hospital.entity.domain.DrugTag;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yixin.hospital.entity.dto.req.drugtag.DrugTagAddReqDTO;
import com.yixin.hospital.entity.dto.req.drugtag.DrugTagEditReqDTO;

import javax.validation.Valid;

/**
* @author Administrator
* @description 针对表【drug_tag(药品标签表)】的数据库操作Service
* @createDate 2024-05-08 14:39:07
*/
public interface DrugTagService extends IService<DrugTag> {

    ApiResult<?> add(@Valid DrugTagAddReqDTO drugTagAddReqDTO, String userName);

    ApiResult<?> edit(@Valid DrugTagEditReqDTO drugTagEditReqDTO, String userName);
}
